dnd: Fix some issues with drag icons
authorMatthias Clasen <mclasen@redhat.com>
Wed, 27 Apr 2016 02:02:34 +0000 (22:02 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 27 Apr 2016 02:02:34 +0000 (22:02 -0400)
commit1d35f273d6ae7f145e7cf8102d423fd7451f57f5
tree9c390368a98ac3615fa278732816a5c6c4df5f08
parent012904097a91ed7649638c1efbb5d1767aedd471
dnd: Fix some issues with drag icons

In non-composited environments, we were ending up with all-black
drag icons, because nothing was drawing the background of our new
toplevel. Fix this by drawing background when we are not composited.
We don't do this when composited, since we want to allow transparent
icons.
gtk/gtkdnd.c